import http from '@/utils/request'

export default{
    // 查看学习视频详情
 lgfileDetail:(params) => http.get('/learning/materials/detail',params),

// learningVideoPage
 lgfilePage:(params) => http.get('/learning/materials/page', params),

// learningAdd
lgfileAdd:(data) => http.postJson('/learning/materials/add', data),

// learningDelete
lgfileDelete:(data) => http.postJson('/learning/materials/delete', data),

// learningDelete
lgfileEdit : (data) => http.postJson('/learning/materials/edit', data),

// 资料类别/学习文档/学习资料
lgfileParams:(params) => http.get('/learning/materials/params/page',params)
}